package com.xcw.mq.pojo;

import lombok.Getter;

@Getter
public enum ExamProcessEnum {
    /**
     * 计算考试成绩队列（死信队列）
     */
    QUEUE_EXAM_PROCESS("exam.process.direct", "exam.process.computed", "exam.process.computed"),
    /**
     * 考级结果计算通知ttl队列
     */
    QUEUE_TTL_PROCESS_COMPUTED("exam.process.direct.ttl", "exam.process.computed.ttl", "exam.process.computed.ttl"),
    /**
     * 计算考试成绩队列（备份队列）
     */
    QUEUE_BACKUP_PROCESS("exam.process.direct.backup", "exam.process.computed.backup", ""),
    /**
     * 计算考试成绩队列（报警队列）
     */
    QUEUE_WARN_PROCESS("exam.process.direct.backup", "exam.process.computed.warn", "");



    /**
     * 交换名称
     */
    private String exchange;
    /**
     * 队列名称
     */
    private String name;
    /**
     * 路由键
     */
    private String routeKey;

   ExamProcessEnum(String exchange, String name, String routeKey) {
        this.exchange = exchange;
        this.name = name;
        this.routeKey = routeKey;
    }
}

